<!DOCTYPE html>
<html lang="en">
<head>
    <title></title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="starfield.css">
</head>
<body>

    <script src="Three.js"></script>
    <script src="base.js"></script>

    <script>

        //initialize starfield
        var starfield = new BASE.Starfield();

        //test to grab your particle count, log's a number to the console.
        function onMouseDown() {
            starfield.getParticles();
        }
        document.addEventListener( 'mousedown', onMouseDown, false );


    </script>


</body>
</html>